home *** CD-ROM | disk | FTP | other *** search
- property ancestor, pIsAutoRange, pMIAW
- global gGraph
-
- on new me, buttonName, castName, theChannel, theStageLoc, isAutoRange, descendant
- if objectp(descendant) then
- ancestor = new(script("one selected radio button"), buttonName, castName, theChannel, theStageLoc, descendant)
- else
- ancestor = new(script("one selected radio button"), buttonName, castName, theChannel, theStageLoc, me)
- end if
- pIsAutoRange = isAutoRange
- return me
- end
-
- on setMIAW me, miaw
- pMIAW = miaw
- return me
- end
-
- on getSetting me
- return pIsAutoRange
- end
-
- on performFunction me
- tell the stage
- playSFX(9)
- end tell
- if pIsAutoRange then
- hideMe(getManualRangeFields(pMIAW))
- setVisible(getManualRangeFields(pMIAW), 0)
- else
- setVisible(getManualRangeFields(pMIAW), 1)
- showMe(getManualRangeFields(pMIAW))
- end if
- setaProp(gGraph, #pIsConsistant, 0)
- setaProp(gGraph, #pIsDirty, 1)
- setaProp(gGraph, #pIsAutoRange, pIsAutoRange)
- return me
- end
-